package com.kun.authServer.feign;


import com.kun.authServer.vo.AdminVo;
import com.kun.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("decorate-admin")
public interface AdminFeignService {
    @PostMapping("/admin/admin/login")
    R login(@RequestBody AdminVo admin);
}
